package my_a10bbc.cn.xp.com.bean;

import com.google.gson.Gson;

import java.util.List;

/**
 * Created by Administrator on 2017/1/11.
 */
public class ISerialBean {

    /**
     * res : 0
     * data : [{"id":"227","serial_id":"36","number":"5","title":"潜能Skinner·Party 2","excerpt":"SM爱好者一般会通过痛感获得性快感，可以采用行为疗法中的系统脱敏法。","read_num":"17000","maketime":"2017-01-10 06:00:00","start_video":"","author":{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"},"has_audio":false,"author_list":[{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"}],"serial_list":["222","223","225","226","227"]},{"id":"226","serial_id":"36","number":"4","title":"潜能Skinner·Party 2","excerpt":"你认为\u2018坠入爱河\u2019是什么感觉？也许是一种意乱情迷的感觉吧。","read_num":"37900","maketime":"2017-01-07 06:00:00","start_video":"","author":{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"},"has_audio":false,"author_list":[{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"}],"serial_list":["222","223","225","226","227"]},{"id":"225","serial_id":"36","number":"3","title":"潜能Skinner·Party 1","excerpt":"\u201c我觉得你长得很像我喜欢的一个人，能跟你合个影吗？\u201d","read_num":"68900","maketime":"2017-01-05 06:00:00","start_video":"","author":{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"},"has_audio":false,"author_list":[{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"}],"serial_list":["222","223","225","226","227"]},{"id":"223","serial_id":"36","number":"2","title":"潜能Skinner·Party 1","excerpt":"现代科学证据表明，人的大脑只有不足10%被开发利用\u2026\u2026","read_num":"78000","maketime":"2017-01-03 06:00:00","start_video":"","author":{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"},"has_audio":false,"author_list":[{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"}],"serial_list":["222","223","225","226","227"]}]
     */

    public int res;
    /**
     * id : 227
     * serial_id : 36
     * number : 5
     * title : 潜能Skinner·Party 2
     * excerpt : SM爱好者一般会通过痛感获得性快感，可以采用行为疗法中的系统脱敏法。
     * read_num : 17000
     * maketime : 2017-01-10 06:00:00
     * start_video :
     * author : {"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"}
     * has_audio : false
     * author_list : [{"user_id":"4814706","user_name":"大头马","desc":"编剧，小说作者。公众号：prophetdatouma","wb_name":"@大头马","is_settled":"0","settled_type":"0","summary":"编剧，小说作者。","fans_total":"229","web_url":"http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9"}]
     * serial_list : ["222","223","225","226","227"]
     */

    public List<DataBean> data;

    public static ISerialBean objectFromData(String str) {

        return new Gson().fromJson(str, ISerialBean.class);
    }

    public static class DataBean {
        public String id;
        public String serial_id;
        public String number;
        public String title;
        public String excerpt;
        public String read_num;
        public String maketime;
        public String start_video;
        /**
         * user_id : 4814706
         * user_name : 大头马
         * desc : 编剧，小说作者。公众号：prophetdatouma
         * wb_name : @大头马
         * is_settled : 0
         * settled_type : 0
         * summary : 编剧，小说作者。
         * fans_total : 229
         * web_url : http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9
         */

        public AuthorBean author;
        public boolean has_audio;
        /**
         * user_id : 4814706
         * user_name : 大头马
         * desc : 编剧，小说作者。公众号：prophetdatouma
         * wb_name : @大头马
         * is_settled : 0
         * settled_type : 0
         * summary : 编剧，小说作者。
         * fans_total : 229
         * web_url : http://image.wufazhuce.com/FmkVejKk4x451FQDRgfNTUl4qqW9
         */

        public List<AuthorListBean> author_list;
        public List<String> serial_list;

        public static DataBean objectFromData(String str) {

            return new Gson().fromJson(str, DataBean.class);
        }

        public static class AuthorBean {
            public String user_id;
            public String user_name;
            public String desc;
            public String wb_name;
            public String is_settled;
            public String settled_type;
            public String summary;
            public String fans_total;
            public String web_url;

            public static AuthorBean objectFromData(String str) {

                return new Gson().fromJson(str, AuthorBean.class);
            }
        }

        public static class AuthorListBean {
            public String user_id;
            public String user_name;
            public String desc;
            public String wb_name;
            public String is_settled;
            public String settled_type;
            public String summary;
            public String fans_total;
            public String web_url;

            public static AuthorListBean objectFromData(String str) {

                return new Gson().fromJson(str, AuthorListBean.class);
            }
        }
    }
}
